package com.testingedu.json;

public class ZTreeNode {
	private Object id;
	private boolean isParent=false;	
	private String name; 
	private Object parentId;
	private String target;
	private String url;
	private String open;
	private String chkDisabled;

	public String getChkDisabled() {
		return chkDisabled;
	}

	public void setChkDisabled(String chkDisabled) {
		this.chkDisabled = chkDisabled;
	}

	public String getOpen() {
		return open;
	}

	public void setOpen(String open) {
		this.open = open;
	}

	public ZTreeNode(Object id, String name, Object parentId,String open,boolean isParent){
		this.id=id;
		this.name=name;
		this.parentId=parentId;
		this.open=open;
		this.isParent=isParent;
	}
	
	public ZTreeNode(Object id, String name, Object parentId,String open,boolean isParent, String chkDisabled){
		this.id=id;
		this.name=name;
		this.parentId=parentId;
		this.open=open;
		this.isParent=isParent;
		this.chkDisabled = chkDisabled;
	}

	public ZTreeNode(Object id, String name,Object parentId,String url,String target, String chkDisabled ){
		this.id=id;
		this.name=name;
		this.parentId=parentId;
		this.url = url;
		this.target = target;
		this.chkDisabled = chkDisabled;
	}

	public Object getId() {
		return id;
	}

	public String getName() {
		return name;
	}

	public Object getParentId() {
		return parentId;
	}

	public String getTarget() {
		return target;
	}

	public String getUrl() {
		return url;
	}

	public boolean isIsParent() {
		return isParent;
	}
	
	public boolean isParent() {
		return isParent;
	}

	public void setId(Object id) {
		this.id = id;
	}
	public void setIsParent(boolean isParent) {
		this.isParent = isParent;
	}

	public void setName(String name) {
		this.name = name;
	}

	public void setParent(boolean isParent) {
		this.isParent = isParent;
	}
	public void setParentId(Object parentId) {
		this.parentId = parentId;
	}

	public void setTarget(String target) {
		this.target = target;
	}

	public void setUrl(String url) {
		this.url = url;
	}
    
}